{% load i18n %}

<div class="filterset collapse-closed">
    <h3 class="form-row">{% blocktrans with title as filter_title %} By {{ filter_title }} {% endblocktrans %}</h3>
    <ul>
        {% for choice in choices %}
            <li class="form-row narrow{% if choice.selected %} selected{% endif %}">
                <a href="{{ choice.query_string|iriencode }}">{{ choice.display|safe }}</a></li>
        {% endfor %}
    </ul>
</div>
